package cn.yiufung.designPattern.decorator;

/**
 * @author 姚锋
 * @createTime 2023年08月25日 14:22:00
 */
public class Client {
    public static void main(String[] args) {
        FoodItem bubbleTea = new BubbleTea();
        bubbleTea = new Milk(bubbleTea);
        bubbleTea = new Milk(bubbleTea);
        System.out.println(bubbleTea.showPrice());
    }
}
